package com.ruoyi.system.service.construction;

import com.ruoyi.system.domain.construction.ConstructionInfo;

import java.util.List;

/**
 * 施工队信息 业务层
 *
 * @author 张少丛
 */
public interface ConstructionInfoService {
    /**
     * 查询施工队信息列表
     * @param info
     * @return
     */
    public List<ConstructionInfo> selectConstructionInfoList(ConstructionInfo info);
    public List<ConstructionInfo> findAllListPingfen(ConstructionInfo constructionInfo);
    public List<ConstructionInfo> caseConstInfoListTwo(ConstructionInfo info);
    public List<ConstructionInfo> caseConstInfoList(ConstructionInfo info);
    public ConstructionInfo caseInfoById(Long constructionId);
    /**
     * 根据ID查询施工队信息
     * @param infoId
     * @return
     */
    public ConstructionInfo selectConstructionInfoById(Long infoId);

    /**
     * 根据名称查询施工队信息
     * @param info
     * @return
     */
    public String checkConstructionInfoByName(ConstructionInfo info);

    /**
     * 添加施工队信息
     * @param info
     * @return
     */
    public int insertConstructionInfo(ConstructionInfo info);

    /**
     * 修改施工队信息
     * @param info
     * @return
     */
    public int updateConstructionInfo(ConstructionInfo info);

    /**
     * 修改状态
     * @return
     */
    public int updateInfoStatus(ConstructionInfo info);

    /**
     * 审批人员信息
     * @return
     */
    public int updateInfoAuditStatus(ConstructionInfo info);

    /**
     * 删除施工队信息
     * @param infoId
     * @return
     */
    public int deleteConstructionInfoById(Long infoId);

    /**
     * 批量删除施工队信息
     * @param infoIds
     * @return
     */
    public int deleteConstructionInfoByIds(Long[] infoIds);


    // TODO:超管根据施工队分类ID查询施工队人员信息列表
    public List<ConstructionInfo> selectSuperTeamInfoList(ConstructionInfo info);

    public int xiaoshoushuliang(Long constructionId);
}
